home *** CD-ROM | disk | FTP | other *** search
- SIZE(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- SSIIZZEE - Returns the total number of elements in an array
-
- SSYYNNOOPPSSIISS
- SSIIZZEE (([AARRRRAAYY==]_a_r_r_a_y [,,[DDIIMM==]_d_i_m]))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- DDEESSCCRRIIPPTTIIOONN
- The SSIIZZEE intrinsic function returns the extent of an array along a
- specified dimension or the total number of elements in the array. It
- accepts the following arguments:
-
- _a_r_r_a_y May be of any type. It must not be scalar. It must not be
- a pointer that is disassociated or an allocatable array that
- is not allocated. If _a_r_r_a_y is an assumed-size array, _d_i_m
- must be present with a value less than the rank of _a_r_r_a_y.
-
- _d_i_m Must be scalar and of type integer with a value in the range
- 1 <= _d_i_m <= _n, where _n is the rank of _a_r_r_a_y.
-
- SSIIZZEE is an inquiry function. The name of this intrinsic cannot be
- passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result is a default integer scalar. The result has a value equal
- to the extent of dimension _d_i_m of _a_r_r_a_y or, if _d_i_m is absent, the
- total number of elements of _a_r_r_a_y.
-
- EEXXAAMMPPLLEESS
- The value of SSIIZZEE((AA((22::55,, --11::11)),, DDIIMM==22)) is 3. The value of SSIIZZEE((AA((22::55,,
- --11::11)))) is 12.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-